package com.uw.scenic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yls
 * @since 2023-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private LocalDateTime addTime;

    private LocalDateTime updateTime;

    private LocalDateTime deleteAt;

    private Boolean isDeleted;

    private String mobile;

    private String password;

    private String nickName;

    private LocalDateTime birthday;

    /**
     * female表示女 male表示男
     */
    private String gender;

    /**
     * 1表示普通用户 2表示管理员
     */
    private Integer role;

    private String userName;

    private String head;

    private String nickname;

    private LocalDateTime cdate;


}
